package titt.util.io.pipe;

import java.io.InputStream;
import java.io.OutputStream;

import titt.io.socket.in.TITTInputStream;
import titt.io.socket.out.TITTOutputStream;

public interface StreamPiper {

	void pipe(TITTInputStream in, TITTOutputStream out, int length) throws Exception;
	void pipe(TITTInputStream in, TITTOutputStream out, int length, PipeListener pl) throws Exception;
	void pipe(InputStream in, OutputStream out, int length) throws Exception;
	void pipe(InputStream in, OutputStream out, int length, PipeListener pl) throws Exception;
}

